package com.entity;

import java.util.Date;


public class Emp {
    private long empno;
    private String ename;
    private String job;
    private long mgr;
    private Date hiredate;
    private double sal;
    private double comm;
    private long deptno;

    public Emp() {
    }

    public Emp(long empno, String ename, String job, long mgr, Date hiredate, double sal, double comm, long deptno) {
        this.empno = empno;
        this.ename = ename;
        this.job = job;
        this.mgr = mgr;
        this.hiredate = hiredate;
        this.sal = sal;
        this.comm = comm;
        this.deptno = deptno;
    }

    public long getEmpno() {
        return empno;
    }

    public void setEmpno(long empno) {
        this.empno = empno;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public long getMgr() {
        return mgr;
    }

    public void setMgr(long mgr) {
        this.mgr = mgr;
    }

    public Date getHiredate() {
        return hiredate;
    }

    public void setHiredate(Date hiredate) {
        this.hiredate = hiredate;
    }

    public double getSal() {
        return sal;
    }

    public void setSal(double sal) {
        this.sal = sal;
    }

    public double getComm() {
        return comm;
    }

    public void setComm(double comm) {
        this.comm = comm;
    }

    public long getDeptno() {
        return deptno;
    }

    public void setDeptno(long deptno) {
        this.deptno = deptno;
    }

    public String toString() {
        return "Emp{empno=" + this.empno + ", ename='" + this.ename + '\'' + ", job='" + this.job + '\'' + ", mgr=" + this.mgr + ", hiredate=" + this.hiredate + ", sal=" + this.sal + ", comm=" + this.comm + ", deptno=" + this.deptno + '}';
    }
}
